package com.dnxh.config;

import org.apache.shiro.authc.AuthenticationToken;

/**
 * @Author 枳湫
 * @Time 2022/4/6 11:38
 * @Describe Basic_jar
 **/
public class JwtToken implements AuthenticationToken {
	
	private String token;
	
	public JwtToken(String jwtToken){
		this.token = jwtToken;
	}
	
	@Override
	public Object getPrincipal () {
		return token;
	}
	
	@Override
	public Object getCredentials () {
		return token;
	}
}
